package com.oneday.nuo.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;


/**
 * (NuoRoleAuth)表数据库访问层
 *
 * @author liushuai
 * @since 2021-03-13 23:37:36
 */
@ApiModel(value = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class NuoRoleAuthDTO {
    private static final long serialVersionUID = -39714427974681392L;


    /**
     * 主键主键
     */
    @NotNull(message = "{id.require}")
    @ApiModelProperty(value = "主键主键")
    private String id;
    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id")
    private String roleId;
    /**
     * 权限id
     */
    @NotNull(message = "权限id不能为空")
    @ApiModelProperty(value = "权限id")
    private String authId;
}